projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5072668
)
SPEAr: Enable udc and usb-console support only for usbtty configuration
author
Vipin KUMAR
<
[email protected]
>
Mon, 7 May 2012 07:36:51 +0000
(13:06 +0530)
committer
Albert ARIBAUD
<
[email protected]
>
Sat, 7 Jul 2012 12:07:41 +0000
(14:07 +0200)
This patch enables the UDC and usb-console support only for usbtty
configurations
Signed-off-by: Vipin Kumar <
[email protected]
>
Signed-off-by: Amit Virdi <
[email protected]
>
Acked-by: Stefan Roese <
[email protected]
>
Signed-off-by: Stefan Roese <
[email protected]
>
include/configs/spear-common.h
patch
|
blob
|
history
diff --git
a/include/configs/spear-common.h
b/include/configs/spear-common.h
index ec978962531aa42fb81bec961072295fe3dbd331..bd54a18465d0d07d1e21679ca8e06c54ffc06858 100644
(file)
--- a/
include/configs/spear-common.h
+++ b/
include/configs/spear-common.h
@@
-39,6
+39,7
@@
#define CONFIG_PHY_RESET_DELAY 10000 /* in usec */
/* USBD driver configuration */
+#if defined(CONFIG_SPEAR_USBTTY)
#define CONFIG_DW_UDC
#define CONFIG_USB_DEVICE
#define CONFIG_USBD_HS
@@
-47,6
+48,8
@@
#define CONFIG_USBD_PRODUCT_NAME "SPEAr SoC"
#define CONFIG_USBD_MANUFACTURER "ST Microelectronics"
+#endif
+
#define CONFIG_EXTRA_ENV_USBTTY "usbtty=cdc_acm\0"
/* I2C driver configuration */